#include "QAppDebugTextEdit.h"
#include <QMouseEvent>

QAppDebugTextEdit::QAppDebugTextEdit(QWidget *parent)
	: QTextEdit(parent)
{

}

QAppDebugTextEdit::~QAppDebugTextEdit()
{

}

void QAppDebugTextEdit::mouseDoubleClickEvent ( QMouseEvent * e )
{
	QString url;
	url = this->anchorAt(e->pos());

	if(!url.isEmpty())
	{
		emit requestLink(url);
	}

}
